::-webkit-scrollbar {
	width: 0;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

a {
	display: block;
}

#app {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.main {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.main__inner {
	flex: 1;
}

.main__base-info {
	position: relative;
	height: 200px;
	background: url(../../img/banner.jpg) no-repeat;
	background-size: 180%;
	background-position: center top;
	box-sizing: border-box;
}
.login-wrapper {
	position: absolute;
	left: 20px;
	top: 10px;
	color: #FFFFFF;
}	
.login-userinfo {
	display: flex;
	align-items: center;
}
.login-username {
	margin-left: 4px;
	font-size: 14px;
	font-weight: bold;
}
.weather-wrapper {
	position: absolute;
	right: 20px;
	top: 10px;
	display: flex;
	align-items: center;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: bold;
}
.weather-wrapper img {
	width: 28px;
	margin-right: 6px;
}


.main__business-nav {
	height: calc(100% - 200px);
	padding: 10px;
	overflow-y: auto;
	box-sizing: border-box;
}

.main__business-nav>ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	height: 100%;
	box-sizing: border-box;
}
.main-all-modules {
	display: flex;
	align-items: center;
}
.business-item {
	position: relative;
	margin: 8px;
	padding: 15px;
	flex: 0 1 calc(33.333% - 16px);
	box-sizing: border-box;
	display: flex;
	justify-content: center;
}
.business-item__inner {
	position: relative;
	display: inline-flex;
	padding: 8px;
	border-radius: 15px;
}

.business-item:nth-child(1) .business-item__inner {
	background-color: rgb(0,122,255);
}
.business-item:nth-child(2) .business-item__inner {
	background-color: rgb(52,199,88);
}
.business-item:nth-child(3) .business-item__inner {
	background-color: rgb(87,86,215);
}
.business-item:nth-child(4) .business-item__inner {
	background-color: rgb(39,193,134);
}
.business-item:nth-child(5) .business-item__inner {
	background-color: rgb(169, 193, 45);
}
.business-item__link {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px;
}

.business-item__img {
	width: 32px;
	height: 32px;
}	

.business-item__title {
	position: absolute;
	left: 8px;
	bottom: -25px;
	font-weight: bold;
	font-size: 12px;
	color: #000000;
}

/* 巡检信息页面 */
.patrol-list {
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
	background-color: #f8f8f8;
}	
.patrol-list__inner {
	flex: 1;
}
.patrol-list__inner>ul {
	height: 100%;
}
.patrol-list-item {
	padding: 10px;
	color: #c2c2c2;
	font-size: 14px;
	background-color: #FFFFFF;
	box-sizing: border-box;
}
.patrol-list-item__avatar {
	padding: 10px;
	float: left;
}
.patrol-list-item__avatar>img {
	width: 36px;
}
.patrol-list-item__inner {
	padding: 10px;
	display: flex;
	overflow:hidden;
}

.patrol-list-item__name {
	font-size: 16px;
	font-weight: bold;
	color: #000000;
	line-height: 30px;
}
.patrol-list-item__datetime {
	line-height: 20px;
}
.patrol-list-item__state {
	line-height: 30px;
}
.patrol-list-item__state.is-ok>em {
	color: rgb(77, 190, 67);
}
.patrol-list-item__total-time {
	line-height: 20px;
}	
.patrol-list-item__total-time.is-ok>time {
	color: rgb(77, 190, 67);
}

.patrol-list-item__room-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-left: 50px;
}	
.patrol-list-item__room-wrapper>li {
	flex: 0 1 calc(33.333% - 8px);
	margin: 4px;
}

.patrol-list-item__room {
	font-size: 14px;
	color: #FFFFFF;
	line-height: 30px;
	text-align: center;
	border-radius: 4px;
	background-color: rgb(102,91,121);
}	

.patrol-list-item__room.finished {
	background-color: rgb(36,153,205);
}
.patrol-grade__item.finished {
	background-color: #b5b5b5;
}
.patrol-grade {
	display: flex;
	flex-wrap: wrap;
}
.patrol-grade__item {
	margin: 4px;
	flex: 0 1 calc(25% - 8px);
	background-color: rgb(107,101,133);
	border-radius: 4px;
	line-height: 30px;
	color: #FFFFFF;
	font-size: 12px;
	text-align: center;
}


/* 移动报表 */
.report {
	
}

.report-type-item {
	padding: 6px 15px;
}
.report-type-item__title {
	position: relative;
}
.report-type-item__title>.text {
	display: inline-block;
	position: relative;
	padding: 0 6px;
	line-height: 36px;
	font-size: 16px;
	font-weight: bold;
	color: #1296db;
}
.report-type-item__title>.text::after {
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #1296db;
}
.report-type-item__content {
	display: flex;
	padding: 14px 0 0 0;
}
.report-item {
	flex: 0 1 calc(25% - 8px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.report-item__img {
	width: 40px;
	height: 40px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.report-item__img[data-report-type="year"] {
	background-image: url(./theme/default/img/report.png);
}

.report-item__text {
	font-size: 14px;
	line-height: 36px;
}

.point-item {
	padding: 10px;
	line-height: 40px;
}

.point-item .van-divider {
	margin: 8px 0px;
}
.point-item>img {
	float: left;
	margin-top: 3px;
	margin-right: 3px;
}
.point-name {
	font-size: 14px;
}
.point-value-wrapper {
	position: relative;
	float: right;
	margin-right: 15px;
	height: 40px;
	font-size: 0;
}
.point-di.point-value-wrapper .van-icon {
	color: inherit;
	font-size: 2em;
}
.point-room-di.point-value-wrapper .van-icon {
	color: inherit;
	font-size: 2em;
}

.point-room-di::before {
	position: absolute;
	content: '';
	left: 30px;
	right: 40px;
	top: 16px;
	height: 4px;
	transform: translate(0,-50%);
	background-color: #E8E8E8;
}

.point-di::before {
	position: absolute;
	content: '';
	left: 30px;
	right: calc(50% + 14px);
	top: 16px;
	height: 4px;
	transform: translate(0,-50%);
	background-color: #E8E8E8;
}
.point-di::after {
	position: absolute;
	content: '';
	right: 30px;
	left: calc(50% + 14px);
	top: 16px;
	height: 4px;
	transform: translateY(-50%);
	background-color: #E8E8E8;
}
.point-di-icon-wrapper, .point-room-di-icon-wrapper {
	display: inline-flex;
	flex-direction: column;
	color: #E8E8E8;
	font-size: 16px;
}	
.point-room-di-icon-wrapper.ok, .point-di-icon-wrapper.ok {
	color: rgb(25,157,51);
}
.point-room-di-icon-wrapper.notok, .point-di-icon-wrapper.notok {
	color: rgb(228,75,98);
}
.point-di-icon-wrapper.stop {
	color: rgb(168, 168, 168);
}
.point-di .text, .point-room-di .text {
	font-size: 12px;
	line-height: 1;
	text-align: center;
}
.point-value {
	font-size: 20px;
}
.point-unit {
	color: #c3c3c3;
	margin-left: 3px;
	font-size: 14px;
	float: right;
}
/* 在线数据 */
.gy {
	transform: rotate(0deg);
}
/* 横屏样式 */
.gy.horizontal { 
	position: absolute;
	left: 50%;
	top: 50%;
}

.gy-img {
	height: calc(100%);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center -25px;
	background-color: rgb(81, 85, 98);
}

.data-panel {
	position: absolute;
	left: 10px;
	top: 60px;
	bottom: 20px;
	overflow: auto;
}
.gy .point-item {
	display: block;
	width: 80px;
	margin-bottom: -8px;
	padding: 2px 5px;
	color: #FFFFFF;
	line-height: 1;
	border: 1px solid rgb(51, 133, 171);
	background-color: rgba(38, 104, 130, 0.8);
	transform: scale(0.8);
	transform-origin: left top;
	overflow: hidden;
}
.gy.xncdc .point-item {
	width: 100px;
}
.gy .point-value-wrapper {
	display: block;
	float: none;
	margin-right: 0;
	height: 24px;
	line-height: 20px;
}
.gy .point-name {
	font-size: 12px;
}
.gy .point-value {
	font-size: 14px;
	color: rgb(57,214,203);
}
.gy .point-unit {
	font-size: 12px;
	color: #c3c3c3;
	line-height: 16px;
}

.patrol-point-input {
	float: right;
	width: 80px;
	margin-top: 4px;
	line-height: 24px;
	border: none;
	border-bottom: 1px solid rgb(232,232,232);
	text-align: right;
}	

.gy-list {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -999px;
	width: 140px;
	padding: 15px 10px;
	overflow-y: auto;
	background-color: #000000;
	transition: all .4s;
	z-index: 9;
}
.gy-list.show {
	right: 0;
}

.gy-list__item {
	position: relative;
	line-height: 40px;
	text-align: center;
}
.gy-list__item:not(:last-child)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 5px;
	right: 5px;
	height: 1px;
	background: linear-gradient(to right, transparent, #ffffff, transparent);
}
.gy-list__item-name {
	font-size: 14px;
	color: #FFFFFF;
}

.timePeriod {
	font-size: 16px;
	font-weight: bold;
	color: #000000;
}
